package order.model;

public class SubType {
	private Integer subTypeId;
	private String name;
	private String field1;
	private String field2;
	private Integer topTypeId;

	public Integer getSubTypeId() {
		return subTypeId;
	}

	public void setSubTypeId(Integer subTypeId) {
		this.subTypeId = subTypeId;
	}

	public Integer getTopTypeId() {
		return subTypeId;
	}

	public void setTopTypeId(Integer subTypeId) {
		this.subTypeId = subTypeId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getField1() {
		return field1;
	}

	public void setField1(String field1) {
		this.field1 = field1;
	}

	public String getField2() {
		return field2;
	}

	public void setField2(String field2) {
		this.field2 = field2;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return "SubType [subTypeId=" + subTypeId + ", name=" + name
				+ ", topTypeId=" + topTypeId + ", field1=" + field1
				+ ", field2=" + field2 + "]";
	}

}
